Skip to content

[docs] Default Aspire CLI bundle opt-in in new C# AppHost templates - #1483

Open
aspire-repo-bot[bot] wants to merge 1 commit into
mainfrom
docs/pr-19076-31625164582-1-ccdbcad61696747d
Open

[docs] Default Aspire CLI bundle opt-in in new C# AppHost templates#1483
aspire-repo-bot[bot] wants to merge 1 commit into
mainfrom
docs/pr-19076-31625164582-1-ccdbcad61696747d

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#19076

@DamianEdwards

Why

microsoft/aspire#19076 makes new C# AppHost project templates, single-file AppHost templates, and the aspire init single-file skeleton set AspireUseCliBundle to true by default, so newly generated AppHosts use the installed Aspire CLI bundle for DCP and Dashboard orchestration dependencies without requiring a manual opt-in.

Changes

  • Updated src/frontend/src/content/docs/get-started/aspire-sdk.mdx to distinguish the generated-template default from the SDK default used by existing AppHosts.
  • Added the #:property AspireUseCliBundle=true opt-in example for existing single-file AppHosts.
  • Incorporated the inline review feedback by consolidating repeated guidance and clarifying which commands create project-based versus single-file AppHosts.

The 13.5 release notes on current main already document this behavior, so the original duplicate what's-new entry was dropped.

Generated by PR Documentation Check for #19076 · auto · 56.4 AIC · ⌖ 10.3 AIC · ⊞ 19.6K ·

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Aug 12, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1483. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1483 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review August 12, 2026 20:08
Copilot AI lite review requested due to automatic review settings August 12, 2026 20:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Aspire 13.5 “What’s new” and Aspire SDK “Get started” documentation to reflect that newly generated C# AppHost templates (including single-file AppHosts) now default to using the installed Aspire CLI bundle via AspireUseCliBundle=true.

Changes:

  • Added a new Aspire 13.5 release-note entry describing the new default behavior and linking to setup docs.
  • Updated the Aspire SDK “Use the Aspire CLI bundle…” section to note the new default for newly created AppHosts.
  • Added a single-file AppHost example showing the equivalent #:property AspireUseCliBundle=true directive.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/frontend/src/content/docs/whats-new/aspire-13-5.mdx Adds a new release-note entry explaining the new default and linking to the relevant SDK docs section.
src/frontend/src/content/docs/get-started/aspire-sdk.mdx Clarifies the default opt-in behavior for new AppHosts and documents the single-file #:property equivalent.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 111 to 114
New C# AppHost projects created with `aspire new` or `dotnet new`, and single-file AppHosts created with `aspire init`, opt in to `AspireUseCliBundle` by default. Existing AppHost projects need to set it explicitly to opt in during the transition before this behavior becomes the default for all AppHosts.

Set `AspireUseCliBundle` to `true` to opt in during the transition before this behavior becomes the default.


## 📦 Aspire CLI bundle enabled by default in new C# AppHost templates

New C# AppHost projects and single-file AppHosts created with `aspire new`, `dotnet new`, or `aspire init` now set `AspireUseCliBundle` to `true` automatically, so they use the installed Aspire CLI bundle for DCP and Dashboard orchestration dependencies without an opt-in warning. Existing AppHost projects are unaffected and can opt in manually.

@adamint Adam Ratzman (adamint) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One wording issue before this is ready.

</PropertyGroup>
```

For a single-file AppHost created with [`aspire init`](/reference/cli/commands/aspire-init/), set the equivalent `#:property` directive:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this say For an existing single-file AppHost? The paragraph above says new aspire init AppHosts already opt in, so this currently reads like users need to add a directive that aspire init just generated.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@IEvangelist
David Pine (IEvangelist) force-pushed the docs/pr-19076-31625164582-1-ccdbcad61696747d branch from 0dc9f80 to 29a4448 Compare August 19, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants